//
//  MPTSingleObject.m
//  MPTLive
//
//  Created by caixun on 15/8/13.
//  Copyright (c) 2015年 Jeakin. All rights reserved.
//

#import "MPTSingleObject.h"


@implementation MPTLiveCustomBtn

@end


@implementation MeVideoModel



@end


@implementation MPTSingleObject


static MPTSingleObject* mInstance = nil;


+ (MPTSingleObject *)sharedInstance
{
    @synchronized(self)
    {
        if(mInstance == nil)
        {
            mInstance = [[MPTSingleObject alloc] init];
        }
        return mInstance;
    }
}


-(id)init
{
    self = [super init];
    if(self)
    {
        self.currentLocation = @"nil";
        self.locationManager = [[AMapLocationManager alloc] init];
        self.searchAPI = [[AMapSearchAPI alloc] init];
    }
    
    return self;
}

- (NSString *)setStrDefValue:(NSString *)str
{
    if(str == nil)
    {
        return @"";
    }
    
    return str;
}


@end
